package com.pozu.new_retail.dao.model;

import java.io.Serializable;
/***
 * 我的消息
 * @author chao
 * @date 2018年5月10日
 */
public class Message implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private Long id;
	
	private Integer type;//消息类型0点赞帖子1评论帖子2物流信息3帖子被精选
	
	private Long userId;
	
	private String otherId;//对应的数据库Id upvote comment ugc order
	
	private Long createdTime;
	
	private Integer state;//默认0未读1已读
	
	private Integer appId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getOtherId() {
		return otherId;
	}

	public void setOtherId(String otherId) {
		this.otherId = otherId;
	}

	public Long getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getAppId() {
		return appId;
	}

	public void setAppId(Integer appId) {
		this.appId = appId;
	}
	
}
